;(function () {
  'use strict';
  angular.module('controllers.alarmDataAnalysis.multidimensionalAnalysis')
    .controller('analysisDataByProvinceCtrl', analysisDataByProvinceCtrl);

  function analysisDataByProvinceCtrl($scope, CoreService,analysisDataByProvinceService,$mdDialog,COREDATA) {
    $scope.analysisDataByProvince = analysisDataByProvinceService;
    analysisDataByProvinceService.initSelectMenu();   //初始化页面下拉框数据
    $scope.exportUrl = COREDATA.FORMPREFIX + 'alarmData/analysisByProvince/exportExcelData';
    $scope.$on('$stateChangeSuccess', function(evt, state) {
      analysisDataByProvinceService.reset();
      $mdDialog.hide();
    });
  }
  analysisDataByProvinceCtrl.$inject = ['$scope','CoreService','analysisDataByProvinceService','$mdDialog','COREDATA'];
})();